package com.yonyou.iuap.ansteel.test01.repository;

import java.util.List;
import java.util.Map;

import com.yonyou.iuap.mybatis.type.PageResult;

import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.PageRequest;

import com.yonyou.iuap.ansteel.test01.entity.User_suppliers_t1;
import com.yonyou.iuap.persistence.mybatis.anotation.MyBatisRepository;


@MyBatisRepository
public interface User_suppliers_t1Mapper {
    int deleteByPrimaryKey(String id);

    int insert(User_suppliers_t1 record);

    int insertSelective(User_suppliers_t1 record);

    User_suppliers_t1 selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User_suppliers_t1 record);

    int updateByPrimaryKey(User_suppliers_t1 record);

    PageResult<User_suppliers_t1> selectAllByPage(@Param("page") PageRequest pageRequest,
            @Param("search") Map<String, Object> searchParams);

    void batchInsert(List<User_suppliers_t1> addList);

    void batchUpdate(List<User_suppliers_t1> updateList);

    void batchDeleteByPrimaryKey(List<User_suppliers_t1> list);

}
